{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Practice Problem - Temperatures" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Use the [data/munich_temperatures_average.txt](data/munich_temperatures_average.txt) data file, which gives the temperature in Munich every day for several years. Load the data and print out the minimum, average and maximum temperature of each year, for example\n", "\n", " 1995: -13C 8C 26C\n", " 1996: ...\n", " \n", "You can then also compute and print the minimum, average and maximum temperature of each month averaged over the years:\n", "\n", " January: -17C -1C 12C\n", " February: ...\n", " \n", "Hint: for simplicity, assume that each month has 30 days." ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Solution" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "\n", "# your solution here\n" ] } ], "metadata": { "anaconda-cloud": {}, "kernelspec": { "display_name": "Python 3", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.7.2" } }, "nbformat": 4, "nbformat_minor": 1 }